package com.king.springcloud.dao;

import com.king.springcloud.domain.Order;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * @author king
 * @date 2020/10/20 19:27
 */
@Mapper
public interface OrderDao {

    void create(Order order);

    void update(@Param("userId")Long userId, @Param("status")Integer status);
}
